package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SSystemGetTaskIssue extends Object implements IMessageBase
    {
        public var issuePlayerLevel:int;
        public var issueItemColor:int;
        public var issueNum:int;
        public var issueExp:int;
        public const _type:int = 12105;
        public static var _regist:SSystemGetTaskIssue = new SSystemGetTaskIssue(true);

        public function SSystemGetTaskIssue(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SSystemGetTaskIssue();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.issuePlayerLevel);
            param1.writeInt(this.issueItemColor);
            param1.writeInt(this.issueNum);
            param1.writeInt(this.issueExp);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.issuePlayerLevel = param1.readInt();
            this.issueItemColor = param1.readInt();
            this.issueNum = param1.readInt();
            this.issueExp = param1.readInt();
            
        }

    }
}
